<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
    request.setAttribute("contextPath", request.getContextPath());
%>

<html>
<head>

<title>Insert title here</title>
</head>
<body>
	<table width="100%" border="1"  bordercolor="blue">
		<tr>
			<td align="center">图书类别</td>
		</tr>
		<c:forEach items="${categorys }" var="c">
			<tr>
				<td align="center">
				
					<a href="${contextPath }/book/getBooksByCategoryId/${c.categoryId }" target="body1">${c.categoryName }</a>
				</td>
			</tr>
		</c:forEach>
	</table>
</body>
</html>